package com.smart.list.analizer.impl;

import java.util.List;

//import com.aliasi.classify.Classification;
//import com.aliasi.classify.Classified;
//import com.aliasi.classify.DynamicLMClassifier;
import com.smart.list.analizer.TextAnalyzer;



/**based on @url http://alias-i.com/lingpipe/demos/tutorial/classify/read-me.html */
public abstract class TaskAnalyzerLingPipeImpl implements TextAnalyzer {

//	public List<String> getCategories(String taskArg, Long id, List<String> context) {
//		DynamicLMClassifier classifier = DynamicLMClassifier.createNGramBoundary(CATEGORIES, NGRAM_SIZE);
//		Classification classification  = new Classification(CATEGORIES[0]);
//		Classified<CharSequence> classified = new Classified<CharSequence>(taskArg,classification);
//		classifier.handle(classified);
//		return null;
//	}
	
	private static String[] CATEGORIES
    = { "soc.religion.christian",
        "talk.religion.misc",
        "alt.atheism",
        "misc.forsale" };

	private static int NGRAM_SIZE = 6;

}
